import random

from django.test import TestCase

# Create your tests here.

source_type = (('qq', "qq群"),
               ('referral', "内部转介绍"),
               ('website', "官方网站"),
               ('baidu_ads', "百度推广"),
               ('office_direct', "直接上门"),
               ('WoM', "口碑"),
               ('public_class', "公开课"),
               ('website_luffy', "路飞官网"),
               ('others', "其它"),)
print(random.choice(source_type)[0])

195<a href="/customers/?search_field={search_field}&kw={kw}&page={1}" aria-label="Next">
200<a href="/customers/?search_field={search_field}&kw={kw}&page={1}" aria-label="Previous">
208page_html += f'<li class="active"><a href="/customers/?search_field={search_field}&kw={kw}&page={i}">{i}</a></li>'
210page_html += f'<li><a href="/customers/?search_field={search_field}&kw={kw}&page={i}">{i}</a></li>'
213<a href="/customers/?search_field={search_field}&kw={kw}&page={1}" aria-label="Next">
218<a href="/customers/?search_field={search_field}&kw={kw}&page={page_num_count}" aria-label="Next">